]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay/appFolderDialog: Don't constrain to workarea
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 25 Jan 2021 16:08:56 +0000 (13:08 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 25 Jan 2021 16:10:37 +0000 (13:10 -0300)
With the transparent top bar in the overview, constraining to the
primary monitor's workarea causes the (now visible) area beneath
the top bar to not have the darker background, which causes a visual
discontinuity in the layout.

Don't constrain to the primary monitor workarea.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1590>

js/ui/appDisplay.js

index 8ddd6d5f65842b3707a77e781e5eea816fee7016..c891de96650f93c2acba56d42dc19568a1506395 100644 (file)
@@ -2153,10 +2153,7 @@ var AppFolderDialog = GObject.registerClass({
             reactive: true,
         });
 
-        this.add_constraint(new Layout.MonitorConstraint({
-            primary: true,
-            work_area: true,
-        }));
+        this.add_constraint(new Layout.MonitorConstraint({ primary: true }));
 
         const clickAction = new Clutter.ClickAction();
         clickAction.connect('clicked', () => {